home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE23
/
PZAZZDEM
/
PZAZZDEM.ZIP
/
PZDEMO
/
PZDBPANE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1997-01-02
|
2KB
|
69 lines
unit Pzdbpane;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, PZBPanel, PZShaded, StdCtrls, PZLabel, Buttons;
type
TPZBitmapPanelForm = class(TForm)
HeaderPanel: TPZBitmapPanel;
PZShaded1: TPZShaded;
DescrPanel: TPZBitmapPanel;
PZLabel4: TPZLabel;
ResultsPanel: TPZBitmapPanel;
PZLabel5: TPZLabel;
PZLabel2: TPZLabel;
OutputPanel3: TPZBitmapPanel;
ExamplePanel3: TPZBitmapPanel;
OutputPanel1: TPZBitmapPanel;
ExamplePanel1: TPZBitmapPanel;
OutputPanel2: TPZBitmapPanel;
ExamplePanel2: TPZBitmapPanel;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormCreate(Sender: TObject);
procedure FormDeactivate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
PZBitmapPanelForm: TPZBitmapPanelForm;
implementation
Uses PZDMain;
{$R *.DFM}
procedure TPZBitmapPanelForm.FormCreate(Sender: TObject);
Begin
SetBounds(10,10,MainForm.ClientWidth-20,MainForm.ClientHeight-MainForm.MainPanel.Height-20);
HeaderPanel.Background.LoadBitmap('PZD_STONE');
DescrPanel.Background.LoadBitmap('PZD_STONE');
ResultsPanel.Background.LoadBitmap('PZD_STONE');
OutputPanel1.Background.LoadBitmap('PZD_STONE');
OutputPanel2.Background.LoadBitmap('PZD_STONE');
OutputPanel3.Background.LoadBitmap('PZD_STONE');
ExamplePanel1.Background.LoadBitmap('PZD_MARBLE');
ExamplePanel2.Background.LoadBitmap('PZD_FLAMES');
End;
procedure TPZBitmapPanelForm.FormClose(Sender: TObject; var Action: TCloseAction);
Begin
Action:=caFree;
End;
procedure TPZBitmapPanelForm.FormDeactivate(Sender: TObject);
begin
Close;
end;
end.